package com.future.hair.server.custom.Vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.future.hair.server.entity.Category;
import com.future.hair.server.entity.ReserveCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserInfoVo对象", description="")
public class CategoryVo extends Category implements Serializable {
//    @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;
//
//    @ApiModelProperty(value = "type(类型 1:预约分类  2:作品分类 )")
//    private Integer type;
//
//    @ApiModelProperty(value = "name(项目名称)")
//    private String name;

    @ApiModelProperty(value = "预约分类列表")
    private List<ReserveCategory> children;
}
